import { getHasNameObjects } from '@/utils/getHasNameObjects'
import { Group, IUI } from 'leafer-ui'
import uiJson from './ui.json'

export const board = new Group({
    x: 0,
    y: 0,
})

board.add(uiJson.children as unknown as IUI[])

export const uiItems = getHasNameObjects(board)
